#!/bin/bash
rm -rf out/oof.exe out/ImageFixer.exe out/ImageFixer.exe.manifest
x86_64-w64-mingw32-g++ src/oof/oof.cpp -o out/oof.exe -lmingw32 -mwindows -Wall -Wpedantic
x86_64-w64-mingw32-g++ src/oof/oof.cpp -o out/ImageFixer.exe -lmingw32 -mwindows -Wall -Wpedantic -D JPH
cp out/oof.exe.manifest out/ImageFixer.exe.manifest